package com.yiwei.zhh.model;

import java.util.List;

/**
 * Created by xsooy-pc on 18-7-9.
 */

public class DealTypesV3Model extends ResponseModel {

    /**
     * data : {"borrow_amount":[1000,1500,2000,2500],"borrow_limit":[15],"use_type":[{"id":1,"name":"创业借款"},{"id":2,"name":"开店借款"}],"repay_info":{"money":"800元","repay_money":"1000元","borrow_date":"2018年07月06日","repay_date":"2018年07月20日"},"bankcard":"************6743"}
     */

    public DataBean data;

    public static class DataBean {
        /**
         * borrow_amount : [1000,1500,2000,2500]
         * borrow_limit : [15]
         * use_type : [{"id":1,"name":"创业借款"},{"id":2,"name":"开店借款"}]
         * repay_info : {"money":"800元","repay_money":"1000元","borrow_date":"2018年07月06日","repay_date":"2018年07月20日"}
         * bankcard : ************6743
         */

        public RepayInfoBean repay_info;
        public String bankcard;
        public String loaner;
        public List<BorrowAmount> borrow_amount;
        public List<String> borrow_limit;
        public List<UseTypeBean> use_type;
        public List<String> remark;

        public static class RepayInfoBean {
            /**
             * money : 800元
             * repay_money : 1000元
             * borrow_date : 2018年07月06日
             * repay_date : 2018年07月20日
             */

            public String money;
            public String repay_money;
            public String borrow_date;
            public String repay_date;
            public String service_fee;
        }

        public static class UseTypeBean {
            /**
             * id : 1
             * name : 创业借款
             */

            public String id;
            public String name;
        }

        public static class BorrowAmount {
//                 "id": 1,
//                         "borrow_amount": 1000,      //可接金额
//                         "borrow_limit_day": 15,
//                         "borrow_apr": 18,   // 年化利率 单位：%
//                         "manage_fee": "5.00",    // 管理费 单位：%
//                         "fast_audit_fee": "143.00",   // 信审费 单位：元
//                         "is_allow": 1   // 是否可借：0 - 否、1 - 是

            public String id;
            public String borrow_amount;
            public String borrow_limit_day;
            public String borrow_apr;
            public String manage_fee;
            public String fast_audit_fee;
            public String is_allow;
        }
    }
}
